package com.fyt.spring.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/*服务提供者，实体类提出作为公有实体类*/
@SpringBootApplication
@MapperScan(basePackages = "com.fyt.spring.cloud.project.mapper")
@EnableDiscoveryClient  //配置服务发现
public class MonitorProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(MonitorProviderApplication.class,args);
    }
}
